package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.domain.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.domain.param.CommentQueryParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author briup
 * @since 2023-03-09
 */
public interface ICommentService{
    public void addComment(Comment comment);
    public void deleteById(Long id);
    public List<Comment> queryByArticleId(Long articleId);
    public IPage<Comment> query(CommentQueryParam param);
}
